package com.sunshine.lnuplus.model.Timetable;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity
public class TimetableEntity {
    @PrimaryKey
    public int id;  //这个可以为学号，如果未登录创建默认，可以实现多课表，但没有解耦

    @ColumnInfo(name = "lesson_name")
    private String lessonName;

    @ColumnInfo(name = "time")
    private String time;

    @ColumnInfo(name = "room")
    private String room;

    @ColumnInfo(name = "teacher")
    private String teacher;

    @ColumnInfo(name = "color")
    private String color;

    @ColumnInfo(name = "weeks")
    private String weeks;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLessonName() {
        return lessonName;
    }

    public void setLessonName(String lessonName) {
        this.lessonName = lessonName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getRoom() {
        return room;
    }

    public void setRoom(String room) {
        this.room = room;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getWeeks() {
        return weeks;
    }

    public void setWeeks(String weeks) {
        this.weeks = weeks;
    }
}
